From: Roan Kattouw Date: Thu, 6 Sep 2007 11:28:04 +0000 (+0000) Subject: API: Really fixing bug 10898 this time X-Git-Tag: 1.31.0-rc.0~51498 X-Git-Url: http://git.cyclocoop.org/%28%5B%5E/404?a=commitdiff_plain;h=0dc5e7b169565f8aa2a4c0d512f4ff8092946418;p=lhc%2Fweb%2Fwiklou.git API: Really fixing bug 10898 this time --- diff --git a/includes/api/ApiQueryInfo.php b/includes/api/ApiQueryInfo.php index 518d1232b5..b1b1a9a4ac 100644 --- a/includes/api/ApiQueryInfo.php +++ b/includes/api/ApiQueryInfo.php @@ -140,7 +140,7 @@ class ApiQueryInfo extends ApiQueryBase { if($tok_edit) { $missing = $pageSet->getMissingTitles(); - $res = $result->getData(); + $res = &$result->getData(); foreach($missing as $pageid => $title) $res['query']['pages'][$pageid]['edittoken'] = $wgUser->editToken(); }